package database.pojo;

import java.util.ArrayList;
import java.util.Map;

public class ConditionObj<K extends Comparable<K>,V> {
	
	private Map<V, Map<K,K>> records;
	int topkValue;
	private String expression;
	private boolean isDescending;
	private String tableName;
	private boolean isWhere;
	
	public Map<V, Map<K, K>> getRecords() {
		return records;
	}
	public void setRecords(Map<V, Map<K, K>> records) {
		this.records = records;
	}
	public int getTopkValue() {
		return topkValue;
	}
	public void setTopkValue(int topkValue) {
		this.topkValue = topkValue;
	}
	public String getExpression() {
		return expression;
	}
	public void setExpression(String expression) {
		this.expression = expression;
	}
	public boolean isDescending() {
		return isDescending;
	}
	public void setDescending(boolean isDescending) {
		this.isDescending = isDescending;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public boolean isWhere() {
		return isWhere;
	}
	public void setWhere(boolean isWhere) {
		this.isWhere = isWhere;
	}
}
